{$CLEO .cs}
{$USE CLEO+}

script_name "blimps"

:1
wait 0
request_model 3151

if and
    does_char_exist $scplayer
    has_model_loaded 3151
then
    load_all_models_now
    0@ = create_object_no_save 3151 -2319.0 2256.0 171.0 0 0
    1@ = create_object_no_save 3151 0.0 0.0 0.0 0 0
    set_object_collision 1@ 1
    attach_object_to_object 1@ 0@ 0.0 0.0 0.0 0.0 0.0 0.0
    connect_lods 0@ 1@
else
    jump @1
end

:2
wait 0
2@, 3@, 4@ = get_offset_from_object_in_world_coords 0@ 0.0 0.5 0.0
slide_object 0@ 2@ 3@ 4@ 1.0 1.0 1.0 0
5@ = get_object_heading 0@
5@ += 0.1
set_object_heading 0@ 5@
jump @2